<template>
    <span >
       <el-tag  v-if="item.dictValue==value"  v-for="item in dataArray"  v-bind:key="item.dictCode"  :type="item.listClass?item.listClass:''">{{item.dictLabel}}</el-tag>
    </span>
</template>

<script>
  export default {
    // 自定义对象，公开属性
    props: {
       dataArray: {
            type: Array,
            required: true
          },
       value: {
         type: String,
         required: true
       }
    },
    created(){
      
    }
  }
</script>

<style>
</style>
